<h1>Editing game</h1>

<% form_for([@fset,@game]) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>


<%= link_to 'Show', fset_game_path(@game.fset_id, @game) %> |
<%= link_to 'Back', fset_path(@game.fset_id) %>
